package com.dnjn.happiness.common.core.model;

import com.dnjn.happiness.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;


/**
 * 人员架构对象 sys_team
 * 
 * @author amber
 * @date 2024-01-02
 */

public class TeamVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    /** PK*/
    private Long teamId;

    /** 是否删除 */
    private String deleted;

    /** 邀请码 */
    private String inviteCode;

    /** 上一级 sys_team.team_id */
    private Long parentId;

    /** 上一级 名称 */
    private String parentName;

    /** 团队总人数 */
    private Integer memberTotal;

    /**  */
    private Integer level;

    /**  */
    private Long userId;

    /** 名称 */
    private String nickName;

    /** 头像 */
    private String avatar;

    /** 上两级 sys_team.team_id */
    private Long superId;


    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getMemberTotal() {
        return memberTotal;
    }

    public void setMemberTotal(Integer memberTotal) {
        this.memberTotal = memberTotal;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Long getSuperId() {
        return superId;
    }

    public void setSuperId(Long superId) {
        this.superId = superId;
    }

    public TeamVo() {
    }

    public TeamVo(String deleted, String inviteCode, Long parentId, String parentName, Integer memberTotal, Integer level, Long userId, String nickName, String avatar, Long superId) {
        this.deleted = deleted;
        this.inviteCode = inviteCode;
        this.parentId = parentId;
        this.parentName = parentName;
        this.memberTotal = memberTotal;
        this.level = level;
        this.userId = userId;
        this.nickName = nickName;
        this.avatar = avatar;
        this.superId = superId;
    }
}
